<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        input{
            margin-top: 10px;
        }
        #y{
            width: 130px;
            height: 40px;
            cursor: pointer;
            border-radius: 3px;
            border:none;
        }
    </style>
</head>
<body>
    <div align="center">
        <form action="/StudentServlet?action=tianjia" method="post">
            <label>姓名：</label><input type="text" name="name"><br>
            <label>性别：</label><input type="text" name="sex"><br>
            <label>年龄：</label><input type="text" name="age"><br>
            <label>地址：</label><input type="text" name="address"><br>
            <label>班级：</label><input type="text" name="school"><br>
            <input type="submit" value="添加" id="y">
        </form>
    </div>

</body>
</html>